<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script  src="../js/jquery-1.11.1.js"></script>
		<style>
			button{
				padding: 15px 30px;
				background-color: #f7787f;
				border: none;
			}
			div{
				width: 400px;
				height: 300px;
				background-color: #ff5500;
				text-align: center;
				line-height: 300px;
			}
		</style>
	</head>
	<body>
		<button id="Btn_one">tab01</button>
		<button id="Btn_two">tab02</button>
		<button id="Btn_three">tab03</button>
		<div class="TEXT"></div>
		<script>
			$("#Btn_one").click(function(){
				$("#Btn_one").css("background-color","#ff5500");
				$("#Btn_two").css("background-color","#ffff7f");
				$("#Btn_three").css("background-color","#ffff7f");
				$(".TEXT").text("tab文字内容一");
			});
			$("#Btn_two").click(function(){
				$("#Btn_two").css("background-color","#ff5500");
				$("#Btn_one").css("background-color","#ffff7f");
				$("#Btn_three").css("background-color","#ffff7f");
				$(".TEXT").text("tab文字内容二");
			});
			$("#Btn_three").click(function(){
				$("#Btn_three").css("background-color","#ff5500");
				$("#Btn_one").css("background-color","#ffff7f");
				$("#Btn_two").css("background-color","#ffff7f");
				$(".TEXT").text("tab文字内容三");			
			});
		</script>
	</body>
</html>